package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 渠道商融资机构关系
 * </p>
 *
 * @author caoYong
 * @since 2019-09-17
 */
@Data
@TableName("pms_partner_finance_relation")
@ApiModel(value="PartnerFinanceRelation对象", description="渠道商融资机构关系")
public class PartnerFinanceRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "RELATION_ID", type = IdType.UUID)
    private String relationId;

    @ApiModelProperty(value = "渠道商代码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "融资机构主键")
    @TableField("COMPANY_ID")
    private String companyId;

    @ApiModelProperty(value = "付款方式")
    @TableField("PAYWAY")
    private String payway;

    @ApiModelProperty(value = "合格证是否随车(Y是,N否)")
    @TableField("IS_ON_VEHICLE")
    private String isOnVehicle;

    @ApiModelProperty(value = "合格证发运地址")
    @TableField("CERT_TRANSPORT_ADD")
    private String certTransportAdd;

    @ApiModelProperty(value = "接收人姓名")
    @TableField("RECEIVER_NAME")
    private String receiverName;

    @ApiModelProperty(value = "接收人电话")
    @TableField("RECEIVER_PHONE")
    private String receiverPhone;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "融资机构名称")
    @TableField(value = "COMPANY_NAME")
    private String companyName;

    @ApiModelProperty(value = "是否启用(1是,0否)")
    @TableField(value = "IS_ON_USE")
    private Integer isOnUse;

}
